package com.youlai.boot.system.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.entity.SpotTravel;
import com.youlai.boot.system.model.form.SpotTravelForm;

/**
 * 旅行社数据对象转换器
 *
 * @author lwb
 * @since 2025-06-29 21:14
 */
@Mapper(componentModel = "spring")
public interface SpotTravelConverter{

    SpotTravelForm toForm(SpotTravel entity);

    SpotTravel toEntity(SpotTravelForm formData);
}